package com.jbinfo.qingcaowan.studyManager.dto;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
/**
 * 
* @ClassName: CycleMainCard 
* @Description: TODO
* @author ZhangLei
* @date 2016年7月11日 上午10:27:07
 */
public class CycleDetailCardDTO implements Serializable{
    /** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = 4187715698306348008L;

	private String id;

    private String detailId;

    private String cardId;

    private Date gmtCreate;

    private String createUser;

    private Date gmtModified;

    private String modifiedUser;

    private String validateFlag;

    private String remarks;
    
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date taskDate; // 任务日期
    
    private String cardNumber; // 卡片顺序

    private Integer minCardNumber; // 任务中最小卡片顺序
    
    private Integer maxCardNumber; // 任务中最大卡片顺序
    
    private Integer cardCnt;  // 任务中卡片总数
    
    private String userId; // 用户ID
    
    private String isReaded;  // 卡片是否已阅读过，0为未阅读，1为已阅读
    
    private String cardReadRate; // 卡片阅读百分比

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDetailId() {
        return detailId;
    }

    public void setDetailId(String detailId) {
        this.detailId = detailId == null ? null : detailId.trim();
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getModifiedUser() {
        return modifiedUser;
    }

    public void setModifiedUser(String modifiedUser) {
        this.modifiedUser = modifiedUser == null ? null : modifiedUser.trim();
    }

    public String getValidateFlag() {
        return validateFlag;
    }

    public void setValidateFlag(String validateFlag) {
        this.validateFlag = validateFlag == null ? null : validateFlag.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

	public Date getTaskDate() {
		return taskDate;
	}

	public void setTaskDate(Date taskDate) {
		this.taskDate = taskDate;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public Integer getMinCardNumber() {
		return minCardNumber;
	}

	public void setMinCardNumber(Integer minCardNumber) {
		this.minCardNumber = minCardNumber;
	}

	public Integer getMaxCardNumber() {
		return maxCardNumber;
	}

	public void setMaxCardNumber(Integer maxCardNumber) {
		this.maxCardNumber = maxCardNumber;
	}


	public Integer getCardCnt() {
		return cardCnt;
	}

	public void setCardCnt(Integer cardCnt) {
		this.cardCnt = cardCnt;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIsReaded() {
		return isReaded;
	}

	public void setIsReaded(String isReaded) {
		this.isReaded = isReaded;
	}

	public String getCardReadRate() {
		return cardReadRate;
	}

	public void setCardReadRate(String cardReadRate) {
		this.cardReadRate = cardReadRate;
	}

	@Override
	public String toString() {
		return "CycleDetailCardDTO [id=" + id + ", detailId=" + detailId + ", cardId=" + cardId + ", gmtCreate="
				+ gmtCreate + ", createUser=" + createUser + ", gmtModified=" + gmtModified + ", modifiedUser="
				+ modifiedUser + ", validateFlag=" + validateFlag + ", remarks=" + remarks + ", taskDate=" + taskDate
				+ ", cardNumber=" + cardNumber + ", minCardNumber=" + minCardNumber + ", maxCardNumber=" + maxCardNumber
				+ ", cardCnt=" + cardCnt + ", userId=" + userId + ", isReaded=" + isReaded + ", cardReadRate="
				+ cardReadRate + "]";
	}

}